#ifndef CHANGESTAFFWINDOW_H
#define CHANGESTAFFWINDOW_H

#include <QMainWindow>
#include<QTcpSocket>
namespace Ui {
class changeStaffWindow;
}

class changeStaffWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit changeStaffWindow(QWidget *parent = nullptr);
    ~changeStaffWindow();

public slots:
   void deleteStaff(const QString& who);
private slots:
    void on_returnButton_clicked();
    void connectedTohost();
    void readData();

    void on_addStaffButton_clicked();

private:
    Ui::changeStaffWindow *ui;
    QTcpSocket * socket;
    QList<QString> namelist;
};

#endif // CHANGESTAFFWINDOW_H
